#donesum_break.py
total = 0
while True:
    s = input('Enter the num:')
    if s == 'done':
        break
    total = total + int(s)
print('The sum is ' + str(total))
